package com.hue.utils;


import org.apache.commons.codec.digest.DigestUtils;

public class MD5Utils {
    private static final String salt = "1a2b3c4d";

    public static String MD5Encoding(String password) {
        String str = DigestUtils.md5Hex(password+salt);
        return str;
    }

    public static void main(String[] args) {
        System.out.println(MD5Encoding("123456"));
    }
}
